package com.ljf.framework.exception;

import com.ljf.framework.result.JsonResultEnum;

/**
 * 说明：
 *
 * @Auther: lijinfeng
 * @Date: 2022/12/8
 */
public class LjfUserInfoIncorrectException extends LjfException {

    /**
     * 构建一个异常
     */
    public LjfUserInfoIncorrectException() {
        super();
    }

    /**
     * 构建一个异常
     *
     * @param message 异常描述信息
     */
    public LjfUserInfoIncorrectException(String message) {
        super(message);
    }

    public LjfUserInfoIncorrectException(JsonResultEnum usernameOrPasswordError, String message) {
        super(usernameOrPasswordError,message);
    }

    @Override
    public Integer getCode() {
        return 501101;
    }
}
